Optimal. Leaf size=59 \[ -\frac {x \sqrt {a^2 x^2+1} \sinh ^{-1}(a x)}{2 a}+\frac {\sinh ^{-1}(a x)^2}{4 a^2}+\frac {1}{2} x^2 \sinh ^{-1}(a x)^2+\frac {x^2}{4} \]
[Out]
________________________________________________________________________________________
Rubi [A] time = 0.09, antiderivative size = 59, normalized size of antiderivative = 1.00, number of steps used = 4, number of rules used = 4, integrand size = 8, \(\frac {\text {number of rules}}{\text {integrand size}}\) = 0.500, Rules used = {5661, 5758, 5675, 30} \[ -\frac {x \sqrt {a^2 x^2+1} \sinh ^{-1}(a x)}{2 a}+\frac {\sinh ^{-1}(a x)^2}{4 a^2}+\frac {1}{2} x^2 \sinh ^{-1}(a x)^2+\frac {x^2}{4} \]
Antiderivative was successfully verified.
[In]
[Out]
Rule 30
Rule 5661
Rule 5675
Rule 5758
Rubi steps
\begin {align*} \int x \sinh ^{-1}(a x)^2 \, dx &=\frac {1}{2} x^2 \sinh ^{-1}(a x)^2-a \int \frac {x^2 \sinh ^{-1}(a x)}{\sqrt {1+a^2 x^2}} \, dx\\ &=-\frac {x \sqrt {1+a^2 x^2} \sinh ^{-1}(a x)}{2 a}+\frac {1}{2} x^2 \sinh ^{-1}(a x)^2+\frac {\int x \, dx}{2}+\frac {\int \frac {\sinh ^{-1}(a x)}{\sqrt {1+a^2 x^2}} \, dx}{2 a}\\ &=\frac {x^2}{4}-\frac {x \sqrt {1+a^2 x^2} \sinh ^{-1}(a x)}{2 a}+\frac {\sinh ^{-1}(a x)^2}{4 a^2}+\frac {1}{2} x^2 \sinh ^{-1}(a x)^2\\ \end {align*}
________________________________________________________________________________________
Mathematica [A] time = 0.03, size = 53, normalized size = 0.90 \[ \frac {a^2 x^2-2 a x \sqrt {a^2 x^2+1} \sinh ^{-1}(a x)+\left (2 a^2 x^2+1\right ) \sinh ^{-1}(a x)^2}{4 a^2} \]
Antiderivative was successfully verified.
[In]
[Out]
________________________________________________________________________________________
fricas [A] time = 0.41, size = 73, normalized size = 1.24 \[ \frac {a^{2} x^{2} - 2 \, \sqrt {a^{2} x^{2} + 1} a x \log \left (a x + \sqrt {a^{2} x^{2} + 1}\right ) + {\left (2 \, a^{2} x^{2} + 1\right )} \log \left (a x + \sqrt {a^{2} x^{2} + 1}\right )^{2}}{4 \, a^{2}} \]
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
giac [F(-2)] time = 0.00, size = 0, normalized size = 0.00 \[ \text {Exception raised: TypeError} \]
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
maple [A] time = 0.08, size = 59, normalized size = 1.00 \[ \frac {\frac {\left (a^{2} x^{2}+1\right ) \arcsinh \left (a x \right )^{2}}{2}-\frac {\arcsinh \left (a x \right ) \sqrt {a^{2} x^{2}+1}\, a x}{2}-\frac {\arcsinh \left (a x \right )^{2}}{4}+\frac {a^{2} x^{2}}{4}+\frac {1}{4}}{a^{2}} \]
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
maxima [A] time = 0.34, size = 81, normalized size = 1.37 \[ \frac {1}{2} \, x^{2} \operatorname {arsinh}\left (a x\right )^{2} + \frac {1}{4} \, a^{2} {\left (\frac {x^{2}}{a^{2}} - \frac {\log \left (a x + \sqrt {a^{2} x^{2} + 1}\right )^{2}}{a^{4}}\right )} - \frac {1}{2} \, a {\left (\frac {\sqrt {a^{2} x^{2} + 1} x}{a^{2}} - \frac {\operatorname {arsinh}\left (a x\right )}{a^{3}}\right )} \operatorname {arsinh}\left (a x\right ) \]
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
mupad [F] time = 0.00, size = -1, normalized size = -0.02 \[ \int x\,{\mathrm {asinh}\left (a\,x\right )}^2 \,d x \]
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
sympy [A] time = 0.43, size = 51, normalized size = 0.86 \[ \begin {cases} \frac {x^{2} \operatorname {asinh}^{2}{\left (a x \right )}}{2} + \frac {x^{2}}{4} - \frac {x \sqrt {a^{2} x^{2} + 1} \operatorname {asinh}{\left (a x \right )}}{2 a} + \frac {\operatorname {asinh}^{2}{\left (a x \right )}}{4 a^{2}} & \text {for}\: a \neq 0 \\0 & \text {otherwise} \end {cases} \]
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________